﻿#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <iostream>
#include <qdebug.h>

//#ifdef Q_OS_WIN
//    #pragma execution_character_set("utf-8")   //解决 VS编译器下中文乱码
//#endif


using namespace std;

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
    cout << "cout测试" << endl;
    qDebug() << "qDebug测试";
}

MainWindow::~MainWindow()
{
    delete ui;
}

